package cw.is.besti.edu.cn.activitypractice;

/**
 * Created by 春旺 on 2017/10/14.
 */

public class EmptyCollectionException extends RuntimeException
{
    /**
     * Sets up this exception with an appropriate message.
     * @param collection String representing the name of the collection
     */
    public EmptyCollectionException (String collection)
    {
        super ("The " + collection + " is empty.");
    }
}